<link rel="stylesheet" type="text/css" href="<?php echo TEMPLATES_PATH;?>/css/member_order.css">

<header class="layout head padding-small">
    <a href="javascript:back(true);" class="hBack float-left"></a>
    <h4 class="hTxt float-left text-center text-white">物流动态</h4>
    <a href="javascript:;" id="btnJdkey" class="hHlep float-right"></a>
</header>
<div class="new-ct">
    <div class="new-order">
        <div class="new-order-track">
            <span>订单编号：<?php echo $output['order_info']['order_sn']; ?></span>
            <span>物流单号：<?php echo $output['order_info']['shipping_code']; ?></span>
            <span>发货时间：<?php echo date("Y-m-d H:i:s",$output['order_info']['shipping_time']); ?></span>
            <span>物流公司：<a target="_blank" href="<?php echo $output['e_url'];?>"><?php echo $output['e_name'];?></a></span>
        </div>
		<div class="new-order-flow new-p-re">
			<span class="new-order-arr"></span>
            <ul class="new-of-storey" id="express_list">
            </ul>
        </div>
	</div>
</div>
<script type="text/javascript">
$(function(){
	var_send = '<li><span class="icon"></span><span><?php echo date("Y-m-d H:i:s",$output['order_info']['shipping_time']); ?></span><span>卖家已发货</span></li>';
	var_send_2 = '<li><span class="icon on"></span><span><?php echo date("Y-m-d H:i:s",$output['order_info']['shipping_time']); ?></span><span>卖家已发货</span></li>';
	$.getJSON('index.php?act=member_order&op=get_express&e_code=<?php echo $output['e_code']?>&shipping_code=<?php echo $output['shipping_code']?>&t=<?php echo random(7);?>',function(data){
		if(data){
			data = data+var_send;
			$('#express_list').html(data).next().css('display','');
		}else{
			$('#express_list').html(var_send_2);
		}
	});
});
</script>